import "./index.scss";
import React, { useState, useEffect } from "react";
import { View, Text } from "@tarojs/components";

function Header() {
  return (
    <View className="top-content">
      <View className="top-title">今天支出</View>
      <View className="top-all-price">179.00</View>
      <View className="top-price-content">
        <View className="mr-12">
          <Text className="top-sub-title">本月支出</Text>
          <Text className="top-price">179.00</Text>
        </View>
        <View>
          <Text className="top-sub-title">本月可用</Text>
          <Text className="top-price">1790.00</Text>
        </View>
      </View>
    </View>
  );
}
export default Header;
